class FixAttributes < ActiveRecord::Migration

  def self.up
    rename_table "attributes", "properties"
    rename_column "properties", "attributeCategory", "category_id"
    rename_column "properties", "maxAttributeID", "maxPropertyID"
    rename_column "properties", "attributeIdx", "propertyIdx"

 
    rename_table "attributes_items", "items_properties"
    rename_column "items_properties", "attribute_id", "property_id"
  
  end

  def self.down
  end
end
